#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main() {
	string s;
	getline(cin, s);
	for (int i = 1; i < s.size(); i++) {
		if (s[i] < s[i - 1]) {
			cout << "False";
			return 0;
		}
	}
	cout << "True";
	return 0;
}
